#ifndef __PRECISION_H__
#define __PRECISION_H__

typedef double (*PrecisionAlgorithm)(double);

struct Precision
{
    Precision(int,PrecisionAlgorithm);

    Precision(const Precision&);

    Precision&
    operator=(const Precision&);

    double operator()(double) const;

private:
    PrecisionAlgorithm algorithm_m;
    int precision_m;
};





#endif

